package com.entity.neo4j;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="Neo4j通用节点对象", description="")
public class GeneralNode {
    private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "节点id")
    private String id;

    @ApiModelProperty(value = "节点名称")
    private String name;

    @ApiModelProperty(value = "节点代码")
    private String code;

    @ApiModelProperty(value = "节点类型：课程、目录、知识点、资源")
    private String type ;

    @ApiModelProperty(value = "属性键")
    private String propertiesKey;

    @ApiModelProperty(value = "属性值")
    private String propertiesValue;
}
